package com.shzu.jwc.ty.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserTeacherInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserTeacherInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserTeacherInfoIdIsNull() {
            addCriterion("user_teacher_info_id is null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdIsNotNull() {
            addCriterion("user_teacher_info_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdEqualTo(Integer value) {
            addCriterion("user_teacher_info_id =", value, "userTeacherInfoId");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdNotEqualTo(Integer value) {
            addCriterion("user_teacher_info_id <>", value, "userTeacherInfoId");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdGreaterThan(Integer value) {
            addCriterion("user_teacher_info_id >", value, "userTeacherInfoId");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_teacher_info_id >=", value, "userTeacherInfoId");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdLessThan(Integer value) {
            addCriterion("user_teacher_info_id <", value, "userTeacherInfoId");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_teacher_info_id <=", value, "userTeacherInfoId");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdIn(List<Integer> values) {
            addCriterion("user_teacher_info_id in", values, "userTeacherInfoId");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdNotIn(List<Integer> values) {
            addCriterion("user_teacher_info_id not in", values, "userTeacherInfoId");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdBetween(Integer value1, Integer value2) {
            addCriterion("user_teacher_info_id between", value1, value2, "userTeacherInfoId");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_teacher_info_id not between", value1, value2, "userTeacherInfoId");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumIsNull() {
            addCriterion("user_teacher_info_num is null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumIsNotNull() {
            addCriterion("user_teacher_info_num is not null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumEqualTo(String value) {
            addCriterion("user_teacher_info_num =", value, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumNotEqualTo(String value) {
            addCriterion("user_teacher_info_num <>", value, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumGreaterThan(String value) {
            addCriterion("user_teacher_info_num >", value, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumGreaterThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_num >=", value, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumLessThan(String value) {
            addCriterion("user_teacher_info_num <", value, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumLessThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_num <=", value, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumLike(String value) {
            addCriterion("user_teacher_info_num like", value, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumNotLike(String value) {
            addCriterion("user_teacher_info_num not like", value, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumIn(List<String> values) {
            addCriterion("user_teacher_info_num in", values, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumNotIn(List<String> values) {
            addCriterion("user_teacher_info_num not in", values, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumBetween(String value1, String value2) {
            addCriterion("user_teacher_info_num between", value1, value2, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNumNotBetween(String value1, String value2) {
            addCriterion("user_teacher_info_num not between", value1, value2, "userTeacherInfoNum");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameIsNull() {
            addCriterion("user_teacher_info_name is null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameIsNotNull() {
            addCriterion("user_teacher_info_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameEqualTo(String value) {
            addCriterion("user_teacher_info_name =", value, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameNotEqualTo(String value) {
            addCriterion("user_teacher_info_name <>", value, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameGreaterThan(String value) {
            addCriterion("user_teacher_info_name >", value, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_name >=", value, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameLessThan(String value) {
            addCriterion("user_teacher_info_name <", value, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameLessThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_name <=", value, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameLike(String value) {
            addCriterion("user_teacher_info_name like", value, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameNotLike(String value) {
            addCriterion("user_teacher_info_name not like", value, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameIn(List<String> values) {
            addCriterion("user_teacher_info_name in", values, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameNotIn(List<String> values) {
            addCriterion("user_teacher_info_name not in", values, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameBetween(String value1, String value2) {
            addCriterion("user_teacher_info_name between", value1, value2, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoNameNotBetween(String value1, String value2) {
            addCriterion("user_teacher_info_name not between", value1, value2, "userTeacherInfoName");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexIsNull() {
            addCriterion("user_teacher_info_sex is null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexIsNotNull() {
            addCriterion("user_teacher_info_sex is not null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexEqualTo(String value) {
            addCriterion("user_teacher_info_sex =", value, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexNotEqualTo(String value) {
            addCriterion("user_teacher_info_sex <>", value, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexGreaterThan(String value) {
            addCriterion("user_teacher_info_sex >", value, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexGreaterThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_sex >=", value, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexLessThan(String value) {
            addCriterion("user_teacher_info_sex <", value, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexLessThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_sex <=", value, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexLike(String value) {
            addCriterion("user_teacher_info_sex like", value, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexNotLike(String value) {
            addCriterion("user_teacher_info_sex not like", value, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexIn(List<String> values) {
            addCriterion("user_teacher_info_sex in", values, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexNotIn(List<String> values) {
            addCriterion("user_teacher_info_sex not in", values, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexBetween(String value1, String value2) {
            addCriterion("user_teacher_info_sex between", value1, value2, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoSexNotBetween(String value1, String value2) {
            addCriterion("user_teacher_info_sex not between", value1, value2, "userTeacherInfoSex");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordIsNull() {
            addCriterion("user_teacher_info_password is null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordIsNotNull() {
            addCriterion("user_teacher_info_password is not null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordEqualTo(String value) {
            addCriterion("user_teacher_info_password =", value, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordNotEqualTo(String value) {
            addCriterion("user_teacher_info_password <>", value, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordGreaterThan(String value) {
            addCriterion("user_teacher_info_password >", value, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_password >=", value, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordLessThan(String value) {
            addCriterion("user_teacher_info_password <", value, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordLessThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_password <=", value, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordLike(String value) {
            addCriterion("user_teacher_info_password like", value, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordNotLike(String value) {
            addCriterion("user_teacher_info_password not like", value, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordIn(List<String> values) {
            addCriterion("user_teacher_info_password in", values, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordNotIn(List<String> values) {
            addCriterion("user_teacher_info_password not in", values, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordBetween(String value1, String value2) {
            addCriterion("user_teacher_info_password between", value1, value2, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoPasswordNotBetween(String value1, String value2) {
            addCriterion("user_teacher_info_password not between", value1, value2, "userTeacherInfoPassword");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidIsNull() {
            addCriterion("user_teacher_info_openid is null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidIsNotNull() {
            addCriterion("user_teacher_info_openid is not null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidEqualTo(String value) {
            addCriterion("user_teacher_info_openid =", value, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidNotEqualTo(String value) {
            addCriterion("user_teacher_info_openid <>", value, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidGreaterThan(String value) {
            addCriterion("user_teacher_info_openid >", value, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidGreaterThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_openid >=", value, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidLessThan(String value) {
            addCriterion("user_teacher_info_openid <", value, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidLessThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_openid <=", value, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidLike(String value) {
            addCriterion("user_teacher_info_openid like", value, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidNotLike(String value) {
            addCriterion("user_teacher_info_openid not like", value, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidIn(List<String> values) {
            addCriterion("user_teacher_info_openid in", values, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidNotIn(List<String> values) {
            addCriterion("user_teacher_info_openid not in", values, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidBetween(String value1, String value2) {
            addCriterion("user_teacher_info_openid between", value1, value2, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoOpenidNotBetween(String value1, String value2) {
            addCriterion("user_teacher_info_openid not between", value1, value2, "userTeacherInfoOpenid");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageIsNull() {
            addCriterion("user_teacher_info_image is null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageIsNotNull() {
            addCriterion("user_teacher_info_image is not null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageEqualTo(String value) {
            addCriterion("user_teacher_info_image =", value, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageNotEqualTo(String value) {
            addCriterion("user_teacher_info_image <>", value, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageGreaterThan(String value) {
            addCriterion("user_teacher_info_image >", value, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageGreaterThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_image >=", value, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageLessThan(String value) {
            addCriterion("user_teacher_info_image <", value, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageLessThanOrEqualTo(String value) {
            addCriterion("user_teacher_info_image <=", value, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageLike(String value) {
            addCriterion("user_teacher_info_image like", value, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageNotLike(String value) {
            addCriterion("user_teacher_info_image not like", value, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageIn(List<String> values) {
            addCriterion("user_teacher_info_image in", values, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageNotIn(List<String> values) {
            addCriterion("user_teacher_info_image not in", values, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageBetween(String value1, String value2) {
            addCriterion("user_teacher_info_image between", value1, value2, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoImageNotBetween(String value1, String value2) {
            addCriterion("user_teacher_info_image not between", value1, value2, "userTeacherInfoImage");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeIsNull() {
            addCriterion("user_teacher_info_export_time is null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeIsNotNull() {
            addCriterion("user_teacher_info_export_time is not null");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeEqualTo(Date value) {
            addCriterion("user_teacher_info_export_time =", value, "userTeacherInfoExportTime");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeNotEqualTo(Date value) {
            addCriterion("user_teacher_info_export_time <>", value, "userTeacherInfoExportTime");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeGreaterThan(Date value) {
            addCriterion("user_teacher_info_export_time >", value, "userTeacherInfoExportTime");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("user_teacher_info_export_time >=", value, "userTeacherInfoExportTime");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeLessThan(Date value) {
            addCriterion("user_teacher_info_export_time <", value, "userTeacherInfoExportTime");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeLessThanOrEqualTo(Date value) {
            addCriterion("user_teacher_info_export_time <=", value, "userTeacherInfoExportTime");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeIn(List<Date> values) {
            addCriterion("user_teacher_info_export_time in", values, "userTeacherInfoExportTime");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeNotIn(List<Date> values) {
            addCriterion("user_teacher_info_export_time not in", values, "userTeacherInfoExportTime");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeBetween(Date value1, Date value2) {
            addCriterion("user_teacher_info_export_time between", value1, value2, "userTeacherInfoExportTime");
            return (Criteria) this;
        }

        public Criteria andUserTeacherInfoExportTimeNotBetween(Date value1, Date value2) {
            addCriterion("user_teacher_info_export_time not between", value1, value2, "userTeacherInfoExportTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}